package com.gzx.plugin.website.access.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.gzx.plugin.website.access.entity.GzxAccessLog;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import vip.xiaonuo.common.sensitive.annotation.Sensitive;
import vip.xiaonuo.common.sensitive.core.SensitiveStrategy;

/**
 * @author zjt
 * @description
 * @date 2025/4/17 16:22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = GzxAccessLog.class)
public class GzxAccessLogVo {

    /**
     * 自增主键
     */
    private Long id;

    /**
     * 欠款人身份证号
     */
    @ExcelProperty("欠款人身份证号")
    @Sensitive(strategy = SensitiveStrategy.ID_CARD)
    private String debtorCardId;

    /**
     * 欠款人手机号
     */
    @ExcelProperty("欠款人手机号")
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String liaisonPhone;

    /**
     * 渠道
     */
    @ExcelProperty("渠道")
    private String channel;

    /**
     * 访问IP
     */
    @ExcelProperty("访问IP")
    private String ip;

    /**
     * 创建时间
     */
    @ExcelProperty("访问时间")
    private String createTime;
}
